package com.fushenlan.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author PC
 * @title: User
 * @projectName SpringBootDemo
 * @description: TODO
 * @date 2021/8/12 16:38
 */
@Data
@ApiModel(description = "用户Model")
public class User {

    @ApiModelProperty(value = "用户ID", name = "id")
    private Long id;

    @ApiModelProperty(value = "用户姓名", name = "username")
    private String name;

    @ApiModelProperty(value = "年龄", name = "age")
    private Integer age;

    @ApiModelProperty(value = "邮箱", name = "email")
    private String email;
}